gtkwindow: Move window dragging to a standalone drag gesture
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 25 Feb 2015 19:34:12 +0000 (20:34 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Mon, 2 Mar 2015 11:03:39 +0000 (12:03 +0100)
commit13e22e20300b7312e52bba7d077fc7e231695fc1
treee425c38f376d0ea8d87652c5f6b23dbdcac64d23
parent0796d7b6ff9393746d90841c8db2ba9a2f7e6df8
gtkwindow: Move window dragging to a standalone drag gesture

The gesture is hooked to the capture phase, so it works for buttons in
header bars and whatnot. In order to be friendly to the widget it is
capturing events from, an ugly hack is in place to avoid capturing
events when the target widget has a gesture that would consume motion
events.
gtk/gtkmain.c
gtk/gtkwidget.c
gtk/gtkwidgetprivate.h
gtk/gtkwindow.c